cmake_minimum_required(VERSION 3.12 FATAL_ERROR)
SET(CMAKE_CXX_STANDARD 17)
SET(CMAKE_CXX_STANDARD_REQUIRED ON)

PROJECT(ParseINP)

if(NOT DEFINED CMAKE_DEBUG_POSTFIX)
	SET(CMAKE_DEBUG_POSTFIX "_d")
endif()

set(INP_CODE
ReadINP.cpp
ReadINP.h
INP_card.cpp
INP_card.h
)

add_library(${PROJECT_NAME} SHARED ${INP_CODE})
target_link_libraries(${PROJECT_NAME} ${PYTHON_LIBS} )
target_link_libraries(${PROJECT_NAME} ${VTK_LIBRARIES} )